package com.sikaryofficial.backend.domain.dto.req.prize;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


/**
 * 奖品地址请求入参
 *
 * @author qinjinyuan
 * @date 2023-10-30
 */
@Getter
@Setter
@ToString
@ApiModel(value = "奖品地址请求入参", description = "奖品地址请求入参")
public class PrizeAddressReq {

    @ApiModelProperty(value = "奖品兑换结果表ID", example = "0")
    @NotNull(message = "prizeRedeemId is empty")
    @Min(value = 1, message = "prizeRedeemId must be greater than 0")
    private Long prizeRedeemId;

    @ApiModelProperty(value = "用户ID")
    @NotNull(message = "userId is empty")
    @Min(value = 1, message = "userId must be greater than 0")
    private Long userId;

    @ApiModelProperty(value = "我的地址ID")
    @NotNull(message = "user address is empty")
    @Min(value = 1, message = "userAddressId must be greater than 0")
    private Long userAddressId;
}
